﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;

namespace OES.Models
{
    public class DataContext : DbContext
    {
        public DataContext()
            : base("DefaultConnection")
        {
        }
        public DbSet<Course> Courses { get; set; }
            public DbSet<UserProfile> Users { get; set; }
            public DbSet<Exam> Exams { get; set; }
            public DbSet<Question> Questions { get; set; }
            public DbSet<Question_Type> Question_Types { get;set; }
            public DbSet<Choice> Choices { get; set; }
   

    }
}